<table class="table table-responsive" id="sysComments-table">
    <thead>
        <tr>
            <th>标题</th>
            <th>内容</th>
            <th>所属问卷</th>
            <th>得分范围下限</th>
            <th>得分范围上限</th>
            <th colspan="3">操作</th>
        </tr>
    </thead>
    <tbody>
    @foreach($sysComments as $sysComment)
        <tr>
            <td>{!! $sysComment->title !!}</td>
            <td width="300"><pre>{!! $sysComment->content !!}</pre></td>
            <td>{!! $sysComment->temps->name !!}</td>
            <td>{!! $sysComment->min_score !!}</td>
            <td>{!! $sysComment->max_score !!}</td>
            <td>
                {!! Form::open(['route' => ['sysComments.destroy', $sysComment->id], 'method' => 'delete']) !!}
                <div class='btn-group'>
                    <a href="{!! route('sysComments.show', [$sysComment->id]) !!}" class='btn btn-default btn-xs'><i class="glyphicon glyphicon-eye-open"></i></a>
                    <a href="{!! route('sysComments.edit', [$sysComment->id]) !!}" class='btn btn-default btn-xs'><i class="glyphicon glyphicon-edit"></i></a>
                    {!! Form::button('<i class="glyphicon glyphicon-trash"></i>', ['type' => 'submit', 'class' => 'btn btn-danger btn-xs', 'onclick' => "return confirm('Are you sure?')"]) !!}
                </div>
                {!! Form::close() !!}
            </td>
        </tr>
    @endforeach
    </tbody>
</table>